<?php
/**
 * Created by PhpStorm.
 * User: 12133
 * Date: 2025/6/21
 * Time: 17:12
 */

namespace app\model;


class Info extends Base{

    public function nav(){
        return $this->hasOne(Nav::class,'id','nav_id');
    }

    public function content(){
        return $this->hasOne(InfoContent::class,'info_id','id');
    }
}